{extend name="Public:base" /}
      {block name="seo"}
         <title>{$Think.CONFIG.WEB_SITE_TITLE} - Powered by EasySNS!</title>
  
  
  <meta name="keywords" content="{$Think.CONFIG.WEB_SITE_KEYWORD}">
  <meta name="description" content="{$Think.CONFIG.WEB_SITE_DESCRIPTION}">
{/block}
{block name="body"}

{if condition="$openslider eq 1"}
  <div class="hidden-xs hidden-sm">
<link rel="stylesheet" href="__PUBLIC__/js/swiper/swiper.css">
    <link rel="stylesheet" href="__PUBLIC__/js/swiper/animate.min.css">
    <link rel="stylesheet" href="__PUBLIC__/js/swiper/style.css">
 
        <script src="__PUBLIC__/js/swiper/swiper.js"></script>
    <script src="__PUBLIC__/js/swiper/swiper.animate1.0.2.min.js"></script>

<div class="swiper-container">

  <div class="swiper-wrapper">
    <div class="swiper-slide slide1">
    <a href="http://es.imzaker.com/index.php/Topic/gview/id/48.html" class="coninner">

    <img src="__PUBLIC__/js/swiper/s0.png" class="ani img s0" swiper-animate-effect="zoomInDown" swiper-animate-duration="1.5s" swiper-animate-delay="0s">
    <img src="__PUBLIC__/js/swiper/s1.png" class="ani img s1" swiper-animate-effect="bounceInLeft" swiper-animate-duration="1s" swiper-animate-delay="0s">
    <img src="__PUBLIC__/js/swiper/s2.png" class="ani img s2" swiper-animate-effect="flipInY" swiper-animate-duration="1s" swiper-animate-delay="0.8s">
 </a>
    </div>

    <div class="swiper-slide slide3">
     <a href="http://es.imzaker.com/index.php/Topic/gview/id/48.html" class="coninner">
    <img src="__PUBLIC__/js/swiper/b-1.png" class="ani img b-1" swiper-animate-effect="bounceInLeft" swiper-animate-duration="1.5s" swiper-animate-delay="0s"/>
    <img src="__PUBLIC__/js/swiper/b-2.png" class="ani img b-2" swiper-animate-effect="bounceInRight" swiper-animate-duration="1.5s" swiper-animate-delay="0s"/>
    <img src="__PUBLIC__/js/swiper/b-3.png" class="ani img b-3" swiper-animate-effect="fadeInDown" swiper-animate-duration="1.5s" swiper-animate-delay="0s"/>
    <img src="__PUBLIC__/js/swiper/b-y-1.png" class="ani img b-y-1 loop" swiper-animate-effect="moveRight" swiper-animate-duration="15s" swiper-animate-delay="4s"/>
    <img src="__PUBLIC__/js/swiper/b-y-2.png" class="ani img b-y-2 loop" swiper-animate-effect="moveLeft" swiper-animate-duration="15s" swiper-animate-delay="0s"/>
    <img src="__PUBLIC__/js/swiper/b-y-3.png" class="ani img b-y-3 loop" swiper-animate-effect="moveRight" swiper-animate-duration="15s" swiper-animate-delay="0s"/>


  </a>   
    </div>
  </div>
    <div class="swiper-pagination"></div>
    
    <!-- 如果需要导航按钮 -->
    <div class="swiper-button-prev"></div>
    <div class="swiper-button-next"></div>
</div>
      <script>        
  var mySwiper = new Swiper ('.swiper-container', {
	  loop: true,
	  pagination: {
	      el: '.swiper-pagination',
	      clickable :true,
	    },
	    navigation: {
	        nextEl: '.swiper-button-next',
	        prevEl: '.swiper-button-prev',
	      },
	      autoplay: {
	    	    delay: 10000,
	    	    stopOnLastSlide: false,
	    	    disableOnInteraction: true,
	    	    },
	  on:{
      init: function(){
        swiperAnimateCache(this); //隐藏动画元素 
        swiperAnimate(this); //初始化完成开始动画
      }, 
      slideChangeTransitionEnd: function(){ 
        swiperAnimate(this); //每个slide切换结束时也运行当前slide动画
      } 
    }

  })    
  
  </script>
</div>
{/if}
<div class="aw-container-wrap aw-container-wrap">
		<div class="container">
			<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">

					<!-- end 新消息通知 -->
					<div class="ad-all clearfix hidden-xs hidden-sm">
	<div id="qiandao">
		<div class="pull-right" style="color:#999;">
		<b>站内统计</b>
		<span style="padding:0 0 0 10px;">会员：{$usercount}</span>
		<span style="padding:0 0 0 10px;">话题：{$groupcount}</span>
		<span style="padding:0 0 0 10px;">帖子：{$topiccount}</span>
		</div>
		<h2 class="hidden-xs"><i style="font-size:22px;" class="iconfont icon-xiaozu"></i> 活跃榜</h2>
		<div class="qiandaobox hidden-xs hidden-sm">
		{volist name="userhy" id="vo" key="k"}	
		{if condition="$k eq 1"}
		<dt class="pull-left">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}" class="aw-user-name" title="{$vo.nickname}" data-id="{$vo.id}" rel="nofollow">
				<img alt="{$vo.nickname}" src="{$vo.userhead|getheadurl}">
				</a>
		</dt>
		{else/}
		<dd class="pull-left xboxs">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}" class="aw-user-name" title="{$vo.nickname}" data-id="{$vo.id}" rel="nofollow">
				<img alt="{$vo.nickname}" src="{$vo.userhead|getheadurl}">
				</a>
			</dd>			
		
		{/if}		
		
		{/volist}
							
									
				</div>
	</div>
</div>
<script type="text/javascript">
$(document).ready(function()
{
	$('.xboxs').hover(function()
	 {  
		$(this).find(".aw-user-name img").css("background","red");
		$(this).find('img').animate({width:54, marginTop:-5, marginLeft:-2}, 500);
	 }, function()
	 {
        $(this).find(".aw-user-name img").css("background","");
		$(this).find('img').animate({width:50, marginTop:0, marginLeft:0},300);
	 });
});
</script>					<!-- tab切换 -->
					<ul class="nav nav-tabs aw-nav-tabs active hidden-xs">
					
						<li {if condition="$order eq 2"}class="active"{/if}><a href="{:es_url('index/index',array('order'=>2))}" id="sort_control_hot">热门</a></li>
						<li {if condition="$order eq 3"}class="active"{/if}><a href="{:es_url('index/index',array('order'=>3))}">推荐</a></li>
						<li {if condition="$order eq 1"}class="active"{/if}><a href="{:es_url('index/index',array('order'=>1))}">最新</a></li>

						<h2 class="hidden-xs"><i class="iconfont icon-liebiao"></i> 发现</h2>
					</ul>
					<!-- end tab切换 -->

					
					<div class="aw-mod aw-explore-list">
						<div class="mod-body">
							<div class="aw-common-list">
							
							{volist name="topiclist" id="vo"}
							
							
							
								<div class="aw-item" id="aw-item_0">
	<div class="aw-user-imgs">
	<a class="aw-user-name aw-user-name-o hidden-xs" data-id="{$vo['uid']}"  href="{:es_url('user/home',array('id'=>$vo['uid']))}" rel="nofollow">
	<img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}">
	<p>{$vo['nickname']}</p>
	
	{if condition="$vo['rzstatus']"}
	<i class="iconfont {$vo['rzicon']}"></i>
	{/if}
	</a>	
	
	<div class="userline hidden-xs" id="userline_0"></div>
	</div>
	<div class="aw-question-content" id="aw-question-content_0">
					<div class="">
	<a class="aw-user-name aw-user-name-o visible-xs" data-id="{$vo['uid']}"  href="{:es_url('user/home',array('id'=>$vo['uid']))}" rel="nofollow">
	<img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}">
	<p>{$vo['nickname']}</p>
	
	{if condition="$vo['rzstatus']"}
	<i class="iconfont {$vo['rzicon']}"></i>
	{/if}
	</a>	
	
	
	</div>
				<div class="pull-right">
			<div class=""><i class="iconfont icon-zan2"></i>
			{$vo.praise}			</div>
		</div>
		<p>
		{if condition="$vo.settop eq 1"}<span class="label label-danger es-margin-r-5">置顶</span>{/if}
						
			<span class="text-color-999">
							{$vo.replystr}</span>
						 									{if condition="$vo.choice eq 1"}<span class="spanb_a">荐</span>	{/if}									</p>
		<h4>
						<a class="listlink" href="{:es_url('Topic/gview',array('id'=>$vo['id']))}">{$vo.title}</a>
									<span class="spantopics">
						
						{if condition="$vo.gidtext neq ''"}
						{volist name="vo['htlist']" id="subvo"}
				<a class="aw-question-topics" href="{:es_url('Topic/index',array('name'=>$subvo))}">{$subvo}</a>
						{/volist}
				{/if}
						</span>
					</h4>			
		<div class="inner clearfix">
				<p class="question-text" style=" color: #666; font-size:13px;">
			{$vo['description']}</p>
						<div class="inners clearfix">
		<div class="row">
		
		{if condition="$vo['imagescount'] gt 0" }
		{volist name="vo['imagesarr']" id="imagesubvo" key="okey"}
			<div class="shibox shiboximg col-xs-4 col-sm-4 col-md-4">
					{if condition="$okey eq 1"}
				<div class="num">共{$vo['imagescount']}张</div>
				{/if}
				<a href="{:es_url('Topic/gview',array('id'=>$vo['id']))}" target="_blank" >
				<img class="img-polaroidst img-responsive" src="{$imagesubvo}" alt="{$vo.title}" >
				</a>
			</div>
			{/volist}
		{/if}		
					</div>
		</div>
				<div class="awfo-box">
				
				{if condition="$vo['reply'] gt 0"}
												<a href="{:es_url('user/home',array('id'=>$vo['replyuid']))}" class="aw-user-name" data-id="{$vo['replyuid']}">{$vo['replyuser']}</a> 
				<span class="text-color-9999 idown">评论了帖子 &nbsp;&nbsp;
				{/if}
				
				<i class="iconfont icon-liulan fz16"></i> {$vo.view} 浏览 &nbsp;&nbsp;<i class="iconfont icon-chat fz16"></i> {$vo.reply} <em>评论</em></span>
											</div>
		</div>
				
		
	</div>
</div>
{/volist}
							</div>
						</div>
						<div class="mod-footer">
							<div class="page-control">
							{$page}
							</div>						</div>
					</div>
				</div>

				<!-- 侧边栏 -->
		<div class="col-sm-12 col-md-3 aw-side-bar hidden-xs hidden-sm">
					
<!--  {:hook('qiandao')} -->
					
					<div class="aw-mod aw-text-align-justify">
						<div class="mod-head">
							<a href="{:es_url('topic/htlist')}"
								class="pull-right">更多 &gt;</a>
							<h3>热门话题</h3>
						</div>
						<div class="mod-body">
							
							{volist name="hotgrouplist" id="vo"}
							<dl>
								<dt class="pull-left aw-border-radius-5">
									<a href="{:es_url('topic/index',array('name'=>$vo.name))}">
									<img alt="" src="{$vo.cover_id|get_picture_url}"></a>
								</dt>
								<dd class="pull-left">
									<p class="clearfix">
										<span class="topic-tag"> 
										<a href="{:es_url('topic/index',array('name'=>$vo.name))}" class="text">{$vo.name}</a>
										</span>
									</p>
									<p>
										<b>{$vo.topiccount}</b> 个帖子, <b>{$vo.membercount}</b> 人关注
									</p>
								</dd>
							</dl>
							{/volist}
						</div>
					</div>
					<div class="aw-mod aw-text-align-justify">
		<div class="mod-head">
		<a href="{:es_url('user/setverify')}" class="pull-right">申请 &gt;</a>
		<h3>认证达人</h3>
	</div>
		<div class="mod-body">
		{volist name="rzuserlist" id="vo"}
		
		<dl>
			<dt class="pull-left aw-border-radius-5">
				<a href="{:es_url('user/home',array('id'=>$vo['uid']))}"><img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}"></a>
			</dt>
			<dd class="pull-left">
				<a href="{:es_url('user/home',array('id'=>$vo['uid']))}" data-id="{$vo.uid}" class="aw-user-name">{$vo.nickname}&nbsp;&nbsp;<i class="fz16 iconfont {if condition='$vo.type eq 1'}icon-myvip{else/}icon-myvip i-ve{/if}" title="{if condition='$vo.type eq 1'}个人认证{else/}企业认证{/if}"></i>						</a>
			
				<p><b>{$vo.topiccount}</b> 个帖子, <b>{$vo.zancount}</b> 次赞同</p>
				
			</dd>
		
			
		</dl>
		<ul class="text-color-999">
			<p><i class="iconfont icon-prestige text-color-999"></i>威望 <b>{$vo.expoint2}</b> <em class="text-color-999">•</em> <i class="iconfont icon-thank text-color-999"></i>金币 <b>{$vo.point}</b>
			</p>
			<p>
			<i class="iconfont icon-user text-color-999"></i>粉丝 <b>{$vo.fscount}</b>
			 <em class="text-color-999">•</em>	
			<i class="iconfont icon-score text-color-999"></i>经验 <b>{$vo.expoint1}</b>
						</p>
		</ul>
		{/volist}
			</div>
		
		</div>					
					<div class="aw-mod aw-text-align-justify">
	<div class="mod-head">
		<a href="{:es_url('user/userlist')}" class="pull-right">更多 &gt;</a>
		<h3>热门用户</h3>
	</div>
	<div class="mod-body">
			{volist name="hotuserlist" id="vo"}		
		<dl>
			<dt class="pull-left aw-border-radius-5">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}"><img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}"></a>
			</dt>
			<dd class="pull-left">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}" data-id="{$vo.id}" class="aw-user-name vusername">{$vo.nickname}</a>
				{if condition="$vo.type"}
				
				&nbsp;&nbsp;<i class="fz16 iconfont {if condition='$vo.type eq 1'}icon-myvip{else/}icon-myvip i-ve{/if}" title="{if condition='$vo.type eq 1'}个人认证{else/}企业认证{/if}"></i>					
				
				
				
				{/if}
				
				<p><b>{$vo.topiccount}</b> 个帖子, <b>{$vo.zancount}</b> 次赞同</p>
			</dd>
		</dl>
			{/volist}
					</div>
</div>										
							</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>
{/block}		
